﻿// Study0207.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//判断语句：判断是否为闰年

#include <iostream>;
using namespace std;

int main()
{
	cout << "Enter the year：\n";
	int year;
	cin >> year;
	if ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0))
	{
		cout << year << "is a leap year" << endl;

	}
	else
	{
		cout << year << " is not a leap year" << endl;
	}
	return 0;
}
